package cn.mihoyo.org.mapper;

import cn.mihoyo.org.domain.Department;
import cn.mihoyo.org.query.DepartmentQuery;

import java.util.List;

public interface DepartmentMapper {
    void add(Department department);
    void delete(Long id);
    void update(Department department);
    List<Department> findAll();
    Department findById(Long id);
    Integer queryByCount(DepartmentQuery query);
    List<Department> queryByPage(DepartmentQuery query);

}
